package com.bjpowernode.compare;

import java.time.*;
import java.util.Date;

/**
 * ClassName:MyXX
 * Package:com.bjpowernode.compare
 * Description: 描述信息
 *
 * @date:2022/4/22 10:46
 * @author:动力节点
 */
public class MyXX {
    public static void main(String[] args) {
        LocalDate localDate=LocalDate.now();
        LocalDateTime localDateTime = localDate.atStartOfDay();
        ZonedDateTime zonedDateTime = localDateTime.atZone(ZoneId.systemDefault());
        Instant instant = zonedDateTime.toInstant();
        long l = instant.toEpochMilli();
    }
}
